//GameStateIntro.h
#ifndef __GAMESTATEINTRO_H__
    #define __GAMESTATEINTRO_H__

#include "GameState.h"
#include "../Drawing/Surface.h"
#include "../Drawing/Text.h"


//A class to load the intro to the Game
class GameStateIntro : public GameState {
    public:

//Activates an instance of GameStateIntro
        void OnActivate();

//Deactivates an instance of GameStateIntro
        void OnDeactivate();

//Waits three seconds then swaps states to GameStateMap
        void OnLoop();

//Creates the logo for the intro
        void OnRender(SDL_Surface* Surf_Display);

//Returns a reference to the GameStateIntro instance
        static GameStateIntro* GetInstance();

//Function to set what happens when specific keys are depressed
//SDLKey sym is the SDL defined symbol for a key
        void OnKeyUp(SDLKey sym, SDLMod mod, Uint16 unicode);


    private:
        static GameStateIntro Instance;
        bool displayControls;
        bool promptControls;
        SDL_Surface* Surf_Logo;
        bool displayEnter;
        int StartTime;
        TTF_Font* Surf_Font;
        Text tx;
        GameStateIntro();

};

#endif

